﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="passwordHistory.aspx.cs"
    Inherits="PeisongWeb.admin.passwordHistory" %>

<%@ Register TagName="top" Src="controls/top.ascx" TagPrefix="uc1" %>
<%@ Register TagName="menu" Src="controls/menu.ascx" TagPrefix="uc2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <!--#include file="style.inc"-->

    <script type="text/javascript" src="../app_common/scripts/jquery-cn.js"></script>

</head>
<body>
    <form id="form1" runat="server">
    <ext:ScriptManager ID="ScriptManager1" runat="server" />
    <uc1:top ID="Top1" runat="server" />
    <uc2:menu ID="Menu1" runat="server" />
    <div id="admin-body">
        <h2 class="section-cms">
            密码修改日志
        </h2>
        <ext:Panel ID="Panel1" runat="server" Title="查询搜索" BodyStyle="padding:5px 5px 0"
            Width="800px" Frame="true" ButtonAlign="Center">
            <Body>
                <div id="admin_edit_content_search">
                    <ul>
                        <li style="width: auto; margin-right: 20px">
                            <label>
                                用户ID
                            </label>
                            <asp:TextBox runat="server" ID="txt_username" Width="80px"></asp:TextBox>
                        </li>
                        <li style="width: auto; margin-right: 5px;">
                            <label>
                                日期：</label>
                            <ext:DateField ID="txtStartDt" runat="server" AllowBlank="true" ReadOnly="true" Width="150" />
                        </li>
                        <li style="width: auto; margin-right: 20px;">
                            <label style="width: 15px;">
                                至</label>
                            <ext:DateField ID="txtEndDt" runat="server" AllowBlank="true" ReadOnly="true" Width="150" />
                        </li>
                        <li style="width: auto; margin-right: 10px;">[<asp:LinkButton runat="server" ID="btnSearch"
                            Text="搜索" OnClick="btnSearch_Click"></asp:LinkButton>] </li>
                    </ul>
                </div>
            </Body>
        </ext:Panel>
        <p>
            &nbsp;</p>
        <div id="admin_list_content" style="width: 800px;">
            <table cellpadding="0" cellspacing="0">
                <tr class="header-row">
                    <th>
                        用户ID
                    </th>
                    <th>
                        修改时间
                    </th>
                    <th>
                        IP
                    </th>
                    <th>
                        修改途径
                    </th>
                </tr>
                <asp:Repeater runat="server" ID="rpt_list">
                    <ItemTemplate>
                        <tr class='<%# Container.ItemIndex%2==0? "row-alt":"alt"  %>'>
                            <td>
                                <%#DataBinder.Eval(Container.DataItem, "username")%>
                            </td>
                            <td>
                                <%#DataBinder.Eval(Container.DataItem, "createDt")%>
                            </td>
                            <td>
                                <%#DataBinder.Eval(Container.DataItem, "loginIp")%>
                            </td>
                            <td>
                                <%#(DataBinder.Eval(Container.DataItem, "editType").ToString() == "1") ? "前台修改" : "后台修改"%>
                            </td>
                        </tr>
                    </ItemTemplate>
                </asp:Repeater>
            </table>
            <div id="page">
                <webdiyer:AspNetPager ID="AspNetPager1" NumericButtonType="Text" MoreButtonType="Text"
                    OnPageChanged="AspNetPager1_PageChanged" runat="server" AlwaysShow="True" PageSize="20"
                    InvalidPageIndexErrorMessage="无效页码" PageIndexOutOfRangeErrorMessage="页码超出范围"
                    ShowCustomInfoSection="Left" CustomInfoHTML=" 每页%PageSize%条记录 | 总共%RecordCount%条记录 "
                    CustomInfoTextAlign="Left" HorizontalAlign="Right" NextPageText="下一页" FirstPageText="首页"
                    LastPageText="末页" PrevPageText="上一页">
                </webdiyer:AspNetPager>
            </div>
        </div>
    </div>
    </form>
</body>
</html>
